/**
 * TrainInsurance
 * Copyright © 2015 - 2017 
 * All rights reserved.
 * -----------------------------------
 * 2018-06-07  Created
 */
package com.lzy.cloud.ticket.train.entity;

import com.lzy.framework.template.BaseDomain;
import java.math.BigDecimal;

import lombok.Data;

/**
 * Description: TrainInsurance
 * Author: mybatis-generator
 * Version: 3.0.0 
 * Create Date Time: 2018-06-07
 * Update Date Time: 
 * Add for lzy-cloud-service ;
 */

@Data
public class TrainInsurance extends BaseDomain {
    /**
     * 保险id
     */
    private Long id;

    /**
     * 火车订单号(train_order的id)
     */
    private Long trainOrderId;

    /**
     * 投保人id
     */
    private Long passengerId;

    /**
     * 保险订单号
     */
    private Long insuranceOrderNo;

    /**
     * 订单号
     */
    private Long insuranceNo;

    /**
     * 保险产品id
     */
    private Long insuranceProId;

    /**
     * 保险商品id
     */
    private Long insuranceGoodId;

    /**
     * 保险名称
     */
    private String insuranceName;

    /**
     * 保险单价
     */
    private BigDecimal eachInsurancePrice;

    /**
     * 保险状态（1.未投保，2.投保成功，3.投保失败，4.投保中，5.废保成功，6.废保失败，7.废保重，8.申请废保，9.取消投保）
     */
    private Integer insuranceStatus;

    private Long createUser;

    private Long updateUser;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 更新时间
     */
    private String updateTime;
}